package com.seed.core.configuration.relation;

import java.util.Map;

public abstract class RelationConfiguration {
    protected String seedName;
    protected String selfColumn;
    protected String targetColumn;
    protected String label;
    protected String comment;
    /**
     * 关系表的每一列和值组成的键值对，形如：{column1: value1, column2: value2}
     */
    protected Map<String, Object> extra;

    public String getSeedName() {
        return seedName;
    }

    public void setSeedName(String seedName) {
        this.seedName = seedName;
    }

    public String getSelfColumn() {
        return selfColumn;
    }

    public void setSelfColumn(String selfColumn) {
        this.selfColumn = selfColumn;
    }

    public String getTargetColumn() {
        return targetColumn;
    }

    public void setTargetColumn(String targetColumn) {
        this.targetColumn = targetColumn;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public Map<String, Object> getExtra() {
        return extra;
    }

    public void setExtra(Map<String, Object> extra) {
        this.extra = extra;
    }
}
